public class Calculator {
    String color;
    String brand;
    double price;
    public void show(){
        System.out.println("颜色"+color);
        System.out.println("品牌"+brand);
        System.out.println("价格"+price);
    }
    public double sum(double a,double b){
        double c=a+b;
        return c;
    }
    public double sum1(double a,double b){
        double c=a-b;
        return c;
    }
    public double sum2(double a,double b){
        double c=a*b;
        return c;
    }
    public double sum3(double a,double b){
        double c=a/b;
        return c;
    }

    public double sum4(double a){
        double c=a*a*a;
        return c;
 }
}